﻿namespace EasyCMS.Core.Services
{
    using System;
    using System.ServiceModel;
    using Pismire;

    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple, IncludeExceptionDetailInFaults = true)]
    public class Admins : EasyCMS.Common.IAdmins
    {
        EasyCMS.Common.IAdmins logicInstance = new EasyCMS.Core.Admins();

        #region IAdmins 成员

        public EasyCMS.Common.DataComponents.Admin GetByID(int id)
        {
            return logicInstance.GetByID(id);
        }

        public EasyCMS.Common.DataComponents.Admin GetByUser(string userProviderName, string userProviderKey)
        {
            throw new NotImplementedException();
        }

        public System.Collections.Generic.List<EasyCMS.Common.DataComponents.Admin> GetList(EasyCMS.Common.Querys.Admin query)
        {
            throw new NotImplementedException();
        }

        public System.Collections.Generic.List<EasyCMS.Common.DataComponents.Admin> GetList(EasyCMS.Common.Querys.Admin query, out int recordCount)
        {
            throw new NotImplementedException();
        }

        public ExcuteState Add(ref EasyCMS.Common.DataComponents.Admin admin)
        {
            throw new NotImplementedException();
        }

        public ExcuteState Update(ref EasyCMS.Common.DataComponents.Admin admin)
        {
            throw new NotImplementedException();
        }

        public ExcuteState Delete(int id)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
